package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Address;
import com.itheima.pojo.AddressVo;

import java.util.List;

public interface AddressService {
    //查询所有的地址信息(分页查询)
    PageResult findAllAddressByPage(QueryPageBean param);
    //添加地址
    void add(Address address);
    //保存修改后的地址
    void edit(Address address);
    //删除byid
    void deleteById(Integer id);
    //获取标点数据
    List<AddressVo> getAllAddress();

    List<String> getAddressNames();
}
